package tests;

import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
/**
 * Test runner is used for executing the test cases.
 */

public class TestRunner {
	 public static void main(String[] args) {
		 Result result = JUnitCore.runClasses(JunitTestSuite.class);
		 for (Failure failure : result.getFailures()) {
			 System.out.println(failure.toString());
		 }
		 System.out.println(result.wasSuccessful());
		 }
	} 
